initJob: #基于starter初始化一个job应用 #N=? /**chartName*/
	@${scriptsDir}/assertx.sh NotNull N ${N}
	@${scriptsDir}/ensurex.sh xDir ${CURDIR}/${N}
	@${scriptsDir}/ensurex.sh xFile ${CURDIR}/${N}/Makefile-${N}.mk
	@cp -R ${roleHome}/starters/initjob/* ${CURDIR}/${N}/ && \
	find ${CURDIR}/${N} -type f |xargs sed -i 's/<CHARTNAME>/${N}/g'

initSts: #基于starter初始化一个stateful应用 #N=? /**chartName*/
	@${scriptsDir}/assertx.sh NotNull N ${N}
	@${scriptsDir}/ensurex.sh xDir ${CURDIR}/${N}
	@${scriptsDir}/ensurex.sh xFile ${CURDIR}/${N}/Makefile-${N}.mk
	@cp -R ${roleHome}/starters/stateful/* ${CURDIR}/${N}/ && \
	find ${CURDIR}/${N} -type f |xargs sed -i 's/<CHARTNAME>/${N}/g'

initLess: #基于starter初始化一个stateless应用 #N=? /**chartName*/
	@${scriptsDir}/assertx.sh NotNull N ${N}
	@${scriptsDir}/ensurex.sh xDir ${CURDIR}/${N}
	@${scriptsDir}/ensurex.sh xFile ${CURDIR}/${N}/Makefile-${N}.mk
	@cp -R ${roleHome}/starters/stateless/* ${CURDIR}/${N}/ && \
	find ${CURDIR}/${N} -type f |xargs sed -i 's/<CHARTNAME>/${N}/g'

install:
	@sudo cp ${roleHome}/bin/helmw /usr/local/bin/helmw && \
	sudo chmod +x /usr/local/bin/helmw
	@tar -zxvf ${roleHome}/bin/helm-v3.6.2-linux-amd64.tar.gz -C /tmp && \
	sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm && \
	sudo chmod +x /usr/local/bin/helm